﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style x:Key="SimpleBorder"
           TargetType="Border">
        <Setter Property="BorderThickness"
                Value="1"></Setter>
        <Setter Property="Padding"
                Value="0"></Setter>
        <Setter Property="Margin"
                Value="2"></Setter>
        <Setter Property="BorderBrush"
                Value="{DynamicResource ControlBorderColor}"></Setter>
        <Setter Property="SnapsToDevicePixels"
                Value="True"></Setter>
    </Style>

    <Style x:Key="StandardRectButtonStyle"
           TargetType="ButtonBase">
        <Setter Property="MinHeight"
                Value="20"></Setter>
        <Setter Property="MinWidth"
                Value="20"></Setter>
        <Setter Property="Margin"
                Value="5"></Setter>
        <Setter Property="SnapsToDevicePixels"
                Value="True"></Setter>
        <Setter Property="FontSize"
                Value="12"></Setter>
    </Style>

    <Style x:Key="RectGreenButtonStyle"
           TargetType="ButtonBase"
           BasedOn="{StaticResource StandardRectButtonStyle}">
        <Setter Property="Background"
                Value="#00FF00"></Setter>
    </Style>
    <Style x:Key="RectRedButtonStyle"
           TargetType="ButtonBase"
           BasedOn="{StaticResource StandardRectButtonStyle}">
        <Setter Property="Background"
                Value="#FF0000"></Setter>
    </Style>
    
</ResourceDictionary>